package com.yc.cloud.admin.dto.mediakit;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel(value = "MediaKitOnRecordMp4Hook", description = "MediaKit on_record_mp4 回调参数")
public class MediaKitOnRecordMp4Hook {

	@ApiModelProperty("媒体服务器ID")
	@JsonProperty("mediaServerId")
	private String mediaServerId;

	@ApiModelProperty("应用名")
	@JsonProperty("app")
	private String app;

	@ApiModelProperty("流ID")
	@JsonProperty("stream")
	private String stream;

	@ApiModelProperty("虚拟主机")
	@JsonProperty("vhost")
	private String vhost;

	@ApiModelProperty("开始时间(秒/Unix时间戳)")
	@JsonProperty("start_time")
	private Long startTime;

	@ApiModelProperty("结束时间(秒/Unix时间戳)")
	@JsonProperty("end_time")
	private Long endTime;

	@ApiModelProperty("时长(秒)")
	@JsonProperty("time_len")
	private Long duration;

	@ApiModelProperty("录制文件大小(字节)")
	@JsonProperty("file_size")
	private Long fileSize;

	@ApiModelProperty("录制文件路径")
	@JsonProperty("file_path")
	private String filePath;

	@ApiModelProperty("录制文件所在目录")
	@JsonProperty("folder")
	private String folder;
}


